#
# Copyright (C) [2024] Xingyun Integrated Circuit, Inc.
#
# GreenCode was a private technology asset of Xingyun Integrated Circuit， Inc （Confidential）
# Author: Shawn.Tan
# Date: 2025.10.28
#
# History: Initial Version 2025.10.28
#
#
control_items = [
    {
        "fname": "paging_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1"',
        },
    },
    {
        "fname": "paging_loadstore_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1"',
        },
    },
    {
        "fname": "paging_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,FlatMap=1"',
        },
    },
    {
        "fname": "paging_loadstore_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,FlatMap=1"',
        },
    },
    {
        "fname": "page_fault_on_load_store_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1"',
        },
    },
    {
        "fname": "page_fault_on_branch_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1"',
        },
    },
    {
        "fname": "page_fault_on_load_store_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,FlatMap=1"',
        },
    },
    {
        "fname": "page_fault_on_branch_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,FlatMap=1"',
        },
    },
    {
        "fname": "paging_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,handlers_set=Fast"',
        },
    },
    {
        "fname": "paging_loadstore_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,handlers_set=Fast"',
        },
    },
    {
        "fname": "paging_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,FlatMap=1,handlers_set=Fast"',
        },
    },
    {
        "fname": "paging_loadstore_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,FlatMap=1,handlers_set=Fast"',
        },
    },
    {
        "fname": "page_fault_on_load_store_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1"',
        },
    },
    {
        "fname": "page_fault_on_branch_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,DelegateExceptions=0,handlers_set=Fast"',
        },
    },
    {
        "fname": "page_fault_on_load_store_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,DelegateExceptions=0,FlatMap=1,handlers_set=Fast"',
        },
    },
    {
        "fname": "page_fault_on_branch_force.py",
        "options": {"max-instr": 10000},
        "generator": {
            "--options": '"PrivilegeLevel=1,DelegateExceptions=0,FlatMap=1,handlers_set=Fast"',
        },
    },
    {
        "fname": "page_fault_rv32_fctrl.py",
    },
]
